package cn.com.w.mongodb.entity;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: 基础分页参数
 * @Author: ZhuShouQiang
 * @Date: 2020/12/28
 */
@Data
@Accessors(chain = true)
public class BasePagingRequest {
    public BasePagingRequest(){
        this.pageSize = 10;
        this.pageNum = 1;
    }

    /**
     * 页大小
     */
    private Integer pageSize;

    /**
     * 第几页
     */
    private Integer pageNum;
}

    
